﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataSubmit.aspx.cs" Inherits="XMK.Tadong.Web.WebFileExplorer.DataSubmit.DataSubmit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>提交审核</title>
    <script src="../Scripts/calendar.js" type="text/javascript"></script>
    <link href="../Styles/mycss.css" rel="stylesheet" type="text/css" />
   <%-- <link rel="stylesheet" type="text/css" href="../easyui/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css" />
    <script type="text/javascript" src="../easyui/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>--%>
     <script type="text/javascript">
         window.onload = function () {
             document.getElementById('bg').style.height = document.getElementById('mydiv').offsetHeight + 'px';
             document.getElementById('bg1').style.height = document.getElementById('mydiv').offsetHeight + 'px';
         } 
        </script>
    <script type="text/javascript">

        ///获取选中课题组ID
        function getSelections() {
            var ids = "";
            var rows = $('#dg').datagrid('getSelections');
            for (var i = 0; i < rows.length; i++) {
                var row = rows[i];
                ids = ids + row.TEAM_ID.toString() + ";"
            }
            document.getElementById("hidIDS").value = ids;
            return ids;
        }
        function getQueryString(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return null;
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div  style="border: 1px   solid   #DCE6F4; height: 100%;">
        <div id="mydiv" align="left" style="border: 1px   solid   #DCE6F4; width: 50%; float: left;">
            <table class="table" width="100%" >
                <tr>
                    <td class="lable2">
                        课题组：
                    </td>
                    <td class="lable">
                        <asp:HiddenField ID="hidIDS" runat="server" />
                        <asp:HiddenField ID="hidPath" runat="server" />
                        <asp:Label ID="lblteam" runat="server" Visible="false"></asp:Label>
                        <asp:CheckBoxList ID="cbTeamList" runat="server" DataTextField="Team_Name" DataValueField="Team_ID">
                        </asp:CheckBoxList>
                    </td>
                </tr>
                <tr>
                    <td class="lable2">
                        文档名称：
                    </td>
                    <td class="lable">
                        <asp:TextBox ID="txtWDMC" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="lable2">
                        摘要信息：
                    </td>
                    <td class="lable">
                        <asp:TextBox ID="txtZYXX" runat="server" CssClass="input1" Height="100px" Rows="5"
                            TextMode="MultiLine" Width="90%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="lable2">
                        目标：
                    </td>
                    <td class="lable">
                        <asp:TextBox ID="txtMB" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="lable2">
                        关键词
                    </td>
                    <td class="lable">
                        <asp:TextBox ID="txtGJC" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
       
        <div id="bg" align="center" style="margin-left: 2px; margin-right: 2px; border: 1px   solid   #DCE6F4;
            width: 1px; float: left; ">
        </div>
        <div id="bg1" align="right" style="border: 1px   solid   #DCE6F4;width: 45%; float: right;">
            <table class="table" width="100%" style="height: 100px;">
                <tr>
                    <td class="lable2" style="height:20%">
                        编写日期：
                    </td>
                    <td class="lable" style="height:20%">
                        <asp:TextBox ID="txtBXRQ" runat="server" CssClass="input1" onclick="calendar()" ReadOnly="true"
                            Width="150"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="lable2" style="height:20%">
                        业务：
                    </td>
                    <td class="lable" style="height:20%">
                        <asp:TextBox ID="txtYWDX" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="lable2" style="height:20%">
                        作者：
                    </td>
                    <td class="lable" style="height:20%">
                        <asp:TextBox ID="txtZZ" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="height:20%">
                    </td>
                    <td style="height:20%">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="height:20%;text-align:right;">
                        <asp:Button ID="btnSunmit" runat="server" CssClass="submit" OnClick="btnSunmit_Click"
                            OnClientClick="getSelections();" Text="提交" />
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div>
        <asp:Label ID="lblError" ForeColor="Red" Font-Size="12px" runat="server"></asp:Label></div>
    </form>
</body>
</html>
